home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
batprogs
/
example.bat
< prev
next >
Wrap
DOS Batch File
|
1985-01-20
|
481b
|
29 lines
ECHO OFF
:REPEAT
CLS
READ EXAMPLE.DAT
CHOOSE Which one do you want ?
IF ERRORLEVEL 4 GOTO END
IF ERRORLEVEL 3 GOTO TIP
IF ERRORLEVEL 2 GOTO FORTUNE
CLS
BEEP
ECHO You are 10 pounds overweight.
GOTO QUERY
:FORTUNE
CLS
BEEP
ECHO You will receive money sometime in the next month.
GOTO QUERY
:TIP
CLS
BEEP
ECHO Put your money in CD's, not the market.
:QUERY
ECHO .
ECHO .
INPUT Want some more ?
IF NOT ERRORLEVEL 1 GOTO REPEAT
:END
CLS